{% extends "website/base.html" %} {% block content %}
📋

Encounter

{{ patient.full_name }} · {{ encounter.visit_datetime|date:"M d, Y H:i" }}
Patient Edit + Vitals + Diagnosis + Prescription + Lab upload
Chief complaint
{{ encounter.chief_complaint|default:"—" }}
Assessment
{{ encounter.assessment_notes|linebreaksbr|default:"—" }}
Plan
{{ encounter.plan_notes|linebreaksbr|default:"—" }}
{% if encounter.is_closed %}Closed{% else %}Open{% endif %}
Vitals
{% for v in vitals %}
{{ v.recorded_at|date:"M d, Y H:i" }}
{% if v.temperature_c %}T {{ v.temperature_c }}°C · {% endif %} {% if v.pulse_bpm %}Pulse {{ v.pulse_bpm }} · {% endif %} {% if v.systolic_mmHg and v.diastolic_mmHg %}BP {{ v.systolic_mmHg }}/{{ v.diastolic_mmHg }} · {% endif %} {% if v.spo2_percent %}SpO₂ {{ v.spo2_percent }}%{% endif %}
{% if v.recorded_by %}{{ v.recorded_by.username }}{% else %}—{% endif %}
{% empty %}
No vitals yet.
{% endfor %}
Diagnoses
{% for d in diagnoses %}
{{ d.title }}{% if d.icd_code %} {{ d.icd_code }}{% endif %}
{{ d.notes|default:"" }}
{% if d.diagnosed_by %}{{ d.diagnosed_by.username }}{% else %}—{% endif %}
{% empty %}
No diagnoses yet.
{% endfor %}
Prescriptions
{% for r in prescriptions %}
{{ r.medication_name }} {% if not r.is_active %}inactive{% endif %}
{% if r.dosage %}{{ r.dosage }} · {% endif %} {% if r.frequency %}{{ r.frequency }} · {% endif %} {% if r.duration %}{{ r.duration }}{% endif %}
{% if r.instructions %}
{{ r.instructions }}
{% endif %}
{% if r.prescribed_by %}{{ r.prescribed_by.username }}{% else %}—{% endif %}
{% empty %}
No prescriptions yet.
{% endfor %}
Lab uploads
{% for l in lab_results %}
{{ l.title }}
{{ l.result_notes|default:"" }}
{% if l.file %} {% endif %}
{% if l.uploaded_by %}{{ l.uploaded_by.username }}{% else %}—{% endif %}
{% empty %}
No lab files yet.
{% endfor %}
{% endblock %}